package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ruoyi.system.domain.SParameterDetailsRemarks;
import com.ruoyi.system.domain.SSubstationDevice;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 参数列备注Mapper接口
 * 
 * @author ruoyi
 * @date 2023-07-10
 */
public interface SParameterDetailsRemarksMapper extends BaseMapper<SParameterDetailsRemarks>
{

    @Select("SELECT p.*,u.nick_name FROM s_parameter_details_remarks p LEFT JOIN sys_user u on p.update_by = u.user_id ${ew.customSqlSegment}")
    List<SParameterDetailsRemarks> getList(@Param(Constants.WRAPPER) Wrapper<SParameterDetailsRemarks> queryWrapper);
}
